package org.java.desgin.patterns.decorator;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class DecoratorTest {
	public static void main(String[] args) throws IOException {
		File file=new File(DecoratorTest.class.getResource("DecoratorTest.class").getPath());
		System.out.println(file.getPath());
		FileReader fr=new FileReader(file);
		BufferedReader br=new BufferedReader(fr);
		System.out.println(br.readLine());
	}
}
